import Vue from 'vue'
import Router from 'vue-router'
import routes from '@/router/routes'
Vue.use(Router)

export default new Router({
  module: 'history', // 去掉/?
  routes
})
